<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
<meta charset="utf-8">
<title>托福人分类页</title>
<link href="../c/base.css" rel="stylesheet" type="text/css">
<link href="../c/toefl.css" rel="stylesheet" type="text/css">
<link href="../c/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../j/lrtk.js"></script>
<style>
.nowPage {
	color: red;
}
</style>
</head>

<body>

<div class="doc1180 paddingT20 fn-clear">
	<!--页面左侧内容-->
	<div class="tfr_left">
	  <div class="tfr_Details">
            <div class="tfr_DetailsPic"><img th:src="${session.sess_toefldetail.img_url}" style="max-width: 100%;max-height: 100%;"></div>
        <div class="tfr_DetailsTitle" th:text="${session.sess_toefldetail.title}"></div>
        <div class="tfr_DetailsTime">发布于：<span>22：00</span><span>2015-12-29</span></div>
        <div class="tfr_DetailsTime">发布人：<a href="###"> [[${session.sess_toefldetail.teacher.user_name}]]</a></div>
            <div class="tfr_DetailsFx"><a></a><img src="../i/tfr_DetailsFx.png"></a></div>
            <div class=" tfr_DetailsMain">
             [[${session.sess_toefldetail.article_detail}]]
            </div>
            <div class="tfr_DetailsPl">
           	  <div class="tfr_DetailsPlTop">
           	  	文章评论<span>[[${session.sess_sum}]]</span>
           	  	<a th:href="@{collect(article_id=${session.sess_toefldetail.article_id})}"><span class="glyphicon glyphicon-heart" title="点击后关注"  style="float: right;right: 50px;font-size: 30px;color: red;" ></span></a>
           	  </div>
              <form action="comment"  method="post" id="commentForm">
           	  <input type="hidden" name="article_id" th:value="${session.sess_toefldetail.article_id}">
           	  <input type="hidden" name="publish_teacher" th:value="${session.sess_toefldetail.publish_teacher}">
              <div class="tfr_DetailsSr">
                	<textarea name="comment" cols="" rows="" class="tfr_DetailsInput"></textarea>
              </div>
              <div  class="tfr_DetailsTj">
                	<dl>
                    	<dt><a href="toLogin" class="tfr_DetailsTjLink">登录</a>后参与评论</dt>
                      	<dd><a class="tfr_DetailsTjpl"><input type="submit" value="提交评论" style="background:transparent; border:0px;"></a></dd>
                    </dl>
              </div>
              </form>
                <div class="tfr_DetailsMessage" th:each="t,iter:${sess_com.list}">
                	<ul>
                    	<li>
                            <div class="tfr_DetailsMPic">
                                <img th:src="${t.user.img_url}">
                                <div class="tfr_DetailsMPicB"></div>
                            </div>
                       		<div class="tfr_DetailsMText">
                            	<div class="tfr_DetailsMTitle">[[${t.coment_desc}]]</div>
                        		<div class="tfr_DetailsName">
                        		<span>[[${t.user.login_name}]]</span>[[${#dates.format(t.last_modify,'yyyy-MM-dd HH:mm:ss')}]]
                        		</div>
                            </div>
                            <div class="tfr_DetailsLc">#[[${iter.count}]]</div>
                        </li>

                    </ul>
              </div>
         <div class="pageList">
			<ul th:if="${sess_com.pages != 0}">
				<li th:if="${sess_com.pageNum != 1}">
				<a th:href="@{toToefl_detail(pageNum=1)}">首页</a></li>
				<li th:each="pages:${sess_com.navigatepageNums}"><a th:href="@{toToefl_detail(pageNum=${pages})}"
					th:class="${pages == sess_com.pageNum} ? nowPage : ''">【[[${pages}]]】</a></li>
				<li th:if="${sess_com.pageNum != sess_com.pages}"><a th:href="@{toToefl_detail(pageNum=${sess_com.pages})}"
					th:onclick="searchpage([[${sess_com.pages}]])">最后一页</a></li>
				<li th:if="${sess_com.pageNum != 1}">
				<a th:href="@{toToefl_detail(pageNum=${sess_com.prePage})}" class="pret">上一页</a></li>
				<li th:if="${sess_com.pageNum != sess_com.pages}">
				<a th:href="@{toToefl_detail(pageNum=${sess_com.nextPage})}"class="next">下一页</a></li>
			</ul>
		</div>
            </div>
      </div>
    </div>
    <!--页面左侧内容 end-->
  <!--页面右侧内容-->
  <div class="doc280 fn-right">
  	<!--今日上线-->
    <div class="index_itemR">
      <div class="tfr_jrsx">
        	<h3>今日上线</h3>
            <span>+12</span>
      </div>
        <div class="index_homework">
        	<dl>
            	<dt><i class="index_homeworkIcon"><img src="../i/index_homeworkIcon_1.png" width="20" height="20"></i><a href="#" class="index_homeworkTitle">听力</a></dt>
                <dd><a href="#">控制字数控制显示的字数控制字数控制显示的字数控制字数控制显示的字数</a></dd>
            </dl>
            <dl>
            	<dt><i class="index_homeworkIcon"><img src="../i/index_homeworkIcon_2.png" width="20" height="20"></i><a href="#" class="index_homeworkTitle">听力</a></dt>
                <dd><a href="#">控制字数控制显示的字数控制字数控制显示的字数控制字数控制显示的字数</a></dd>
            </dl>
            <dl>
            	<dt><i class="index_homeworkIcon"><img src="../i/index_homeworkIcon_3.png" width="20" height="20"></i><a href="#" class="index_homeworkTitle">听力</a></dt>
                <dd><a href="#">控制字数控制显示的字数控制字数控制显示的字数控制字数控制显示的字数</a></dd>
            </dl>
            <dl>
            	<dt><i class="index_homeworkIcon"><img src="../i/index_homeworkIcon_4.png" width="20" height="20"></i><a href="#" class="index_homeworkTitle">听力</a></dt>
                <dd><a href="#">控制字数控制显示的字数控制字数控制显示的字数控制字数控制显示的字数</a></dd>
            </dl>
            
        </div>
    </div>
  <!--热门小组-->
    <div class="index_itemR">
    	<div class="index_itemRtitle">
        	<h3>热门小组</h3>
            <a href="###" class="index_itemRMore">换一换</a>
      	</div>
        <div class="index_itemRHot">
        	<dl>
            	<dt><a href="###"><img src="../i/48x48.png" width="48" height="48"></a></dt>
                <dd>
                	<div class="fn-clear">
                    	<span class="index_itemRHotName">标题请控制字数</span>
                        <span class="index_itemRHotPic"><img src="../i/index_itemRHot.png" ></span>
                        <span class="index_itemRHotNum">234567人加入</span>
                    </div>
                    <div class="index_itemRHotText">简介请控制字数</div>
                </dd>
            </dl>
            <dl>
            	<dt><a href="###"><img src="../i/48x48.png" width="48" height="48"></a></dt>
                <dd>
                	<div class="fn-clear">
                    	<span class="index_itemRHotName">你不做作就不会死</span>
                        <span class="index_itemRHotPic"><img src="../i/index_itemRHot.png" ></span>
                        <span class="index_itemRHotNum">234567人加入</span>
                    </div>
                    <div class="index_itemRHotText">你不做作就不会死你不做作就不会死你不做作就不会死</div>
                </dd>
            </dl>
            <dl>
            	<dt><a href="###"><img src="../i/48x48.png" width="48" height="48"></a></dt>
                <dd>
                	<div class="fn-clear">
                    	<span class="index_itemRHotName">你不做作就不会死</span>
                        <span class="index_itemRHotPic"><img src="../i/index_itemRHot.png" ></span>
                        <span class="index_itemRHotNum">234567人加入</span>
                    </div>
                    <div class="index_itemRHotText">你不做作就不会死你不做作就不会死你不做作就不会死</div>
                </dd>
            </dl>
        </div>
        
    </div>
    <!--名师推荐-->
    <div class="index_itemR">
      	<div class="index_itemRtitle">
        	<h3>名师推荐</h3>
            <a href="###" class="index_itemRMore">更多</a>
      	</div>
        <div class="tfr_mstj">
        	<dl>
                <dt><a href="###"><img src="../i/tfr_mstj.png"></a></dt>
                <dd>
                	<h3 class="tfr_mstjH3">教师名字</h3>
                	<a href="###">60分以下考生作业: 盛会杰老师 于2015-01-15日发作业</a>
                </dd>
            </dl>
            <dl>
                <dt><a href="###"><img src="../i/tfr_mstj.png"></a></dt>
                <dd>
                	<h3 class="tfr_mstjH3">教师名字</h3>
                	<a href="###">60分以下考生作业: 盛会杰老师 于2015-01-15日发作业</a>
                </dd>
            </dl>
            <dl>
                <dt><a href="###"><img src="../i/tfr_mstj.png"></a></dt>
                <dd>
                	<h3 class="tfr_mstjH3">教师名字</h3>
                	<a href="###">60分以下考生作业: 盛会杰老师 于2015-01-15日发作业</a>
                </dd>
            </dl>
        </div>
    </div>
    
    
  </div>
  <!--页面右侧内容 end-->
  
</div>

</body>
</html>
